package com.dailyblue.java.spring.boot.jwt.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dailyblue.java.spring.boot.jwt.bean.User;
import com.dailyblue.java.spring.boot.jwt.exception.UserCodeNotFoundException;
import com.dailyblue.java.spring.boot.jwt.exception.UserPasswordErrorException;
import com.dailyblue.java.spring.boot.jwt.util.JsonResult;

public interface UserService extends IService<User> {

    JsonResult login(User user) throws UserCodeNotFoundException, UserPasswordErrorException;
}
